<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Enrollment extends Model
{
    public $timestamps = false;
    protected $fillable = ['firstname','lastname','email','phone'];

    public function event(){
        return $this->belongsTo('App\Event');
    }
}
